package com.ruoyi.od.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存对象 stock_inventory
 * 
 * @author ruoyi
 * @date 2025-06-23
 */
public class StockInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String goodsId;

    /** 当前库存数量 */
    @Excel(name = "当前库存数量")
    private Long currentQuantity;

    /** 库存总金额 */
    @Excel(name = "库存总金额")
    private BigDecimal totalAmount;

    public void setGoodsId(String goodsId) 
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId() 
    {
        return goodsId;
    }

    public void setCurrentQuantity(Long currentQuantity) 
    {
        this.currentQuantity = currentQuantity;
    }

    public Long getCurrentQuantity() 
    {
        return currentQuantity;
    }

    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("currentQuantity", getCurrentQuantity())
            .append("totalAmount", getTotalAmount())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
